<script language="javascript" type="text/javascript" src="WdatePicker.js"></script>
<html>

<input id="d11" type="text" onClick="WdatePicker()"/>
</html>
